package com.wavercaz.freeforum.services;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wavercaz.freeforum.pojo.Comment;
import com.wavercaz.freeforum.pojo.CommonSearchParam;
import com.wavercaz.freeforum.pojo.vo.CommentVo;
import org.apache.ibatis.annotations.Param;

public interface CommentService extends IService<Comment> {
    IPage<CommentVo> getCommentVoList(@Param("param") CommonSearchParam commonSearchParam, @Param("page") Page<CommentVo> page);
}
